<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html:html lang="true" ><!-- InstanceBegin template="/BabyShopView/pages/clientTem.dwt.jsp" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Dang nhap</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
</head> 
<body marginwidth="100px" bgcolor="#FFFFDD" >
<table width="100%" border="0" align="center" cellspacing="0px"  background= "../picture/background.jpg">
  <tr>
      <td>
         
      </td>
  </tr>
  <tr>
    <td>
	<jsp:include page="header.jsp" />
	</td>
  </tr>
  <tr>
    <td>
	<table width="100%" border="0" cellspacing="0">
      <tr>
          <td width="140" style="border-right: 2px solid #cccccc " valign="top"><jsp:include page="left.jsp" /></td>
        <td valign="top"><!-- InstanceBeginEditable name="Content" -->
		<html:form  action="/client/pages/submitLogin">
  <table width="35%" border="0" align="center">
      <tr><td colspan="2"><logic:present name="customer">
                  Ban phai dang xuat khoi account <span style="font-weight: bold"> <bean:write name="customer" property="userName" scope="session"/></span>
                  truoc khi dang nhap account khac
              </logic:present></td></tr>
      <logic:notPresent name="customer">
      <tr>
      <td colspan="2"><span style="color:#ff0000;font-style: italic"> <html:errors/></span>
          <logic:present scope="request" name="failLogin">
              <span style="color:#ff0000;font-style: italic; font-size: 20px">
                  <%= request.getAttribute("failLogin")%></span>
          </logic:present>
      </td>
    </tr>
    <tr>
      <td width="30%">User name </td>
      <td width="70%"><html:text property="userName" style="height:30" size="30"/></td>
    </tr>
    <tr>
      <td height="55">Password</td>
      <td><html:password property="passw" style="height:30" size="30"/></td>
    </tr>
    <tr>
      <td align="right" valign="top">&nbsp;</td>
      <td align="center"><html:submit property="submit" value="Submit"/>
      &nbsp;&nbsp;
      <html:reset property="reset" value=" Reset "/></td>
    </tr></logic:notPresent>
  </table>
</html:form >


		<!-- InstanceEndEditable --></td>
        <td width="100" style="border-left: 2px solid #cccccc " ><jsp:include page="right.jsp" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td>footer</td>
  </tr>
</table>
</body>
<!-- InstanceEnd --></html:html>
